﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%@ Import Namespace="Vmago.Models" %>

<script type="text/javascript">

    $(document).ready(function() {
        // alert(document.getElementById("CheakRegister").value);
        if (TestGo != '1' && TestGo != null) {
            var vu = document.getElementById("validationUsername").value;
            var vm = document.getElementById("validationMail").value;
            var vp = document.getElementById("validationPassword").value;
            var vc = document.getElementById("validationConfigPassword").value;

            if (vu == "有错误!") {
                alert(vu);
                alert(document.getElementById("validationUsername").value);
                $("#loginUserValidation").html("用户名少于6个字符!");
                document.getElementById("regUsernameImg").style['visibility'] = 'visible';
                document.getElementById("loginUserValidation").style['visibility'] = 'visible';
                document.getElementById("regUsernameImg").src = '../../Content/img/jquery/exclamation.gif';
            }
            if (vm == "有错误!") {
                alert(vm);
                $("#mailValidation").html("邮箱不符合要求,请重新输入!");
                document.getElementById("mailImg").style['visibility'] = 'visible';
                document.getElementById("mailValidation").style['visibility'] = 'visible';
                document.getElementById("mailImg").src = '../../Content/img/jquery/exclamation.gif';
            }

            if (vp == "有错误!") {
                alert(vp);
                $("#regPasswordValidation").html("密码不得少于8个字符!");
                document.getElementById("passwordImg").style['visibility'] = 'visible';
                document.getElementById("regPasswordValidation").style['visibility'] = 'visible';
                document.getElementById("passwordImg").src = '../../Content/img/jquery/exclamation.gif';
            }

            if (vu == "有错误!") {
                alert(vu);
                $("#regConfirmPasswordValidation").html("与原密码不同,请确认!");
                document.getElementById("ConPasswordImg").style['visibility'] = 'visible';
                document.getElementById("regConfirmPasswordValidation").style['visibility'] = 'visible';
                document.getElementById("ConPasswordImg").src = '../../Content/img/jquery/exclamation.gif';
            }
        }
        jQuery(function($) {
            $("#username").Watermark("Email或昵称");
            $("#RegUsername").Watermark("请输入昵称");
            $("#RegEmail").Watermark("请输入Email");
            $("#RegValidationCode").Watermark("请输入验证码");
        });
        $("#RegUsername").change(function() {
            var s = document.getElementById("RegUsername").value;
            if (s.length < 6) {
                $("#loginUserValidation").html("用户名少于6个字符!");
                document.getElementById("regUsernameImg").style['visibility'] = 'visible';
                document.getElementById("loginUserValidation").style['visibility'] = 'visible';
                document.getElementById("regUsernameImg").src = '../../Content/img/jquery/exclamation.gif';
                document.getElementById("validationUsername").value = "有错误!";
            }
            else {
                $.getJSON('/Account/ValidationRegisterUsername/' + s, {}, function(j) {
                    if (j != '1') {
                        $("#loginUserValidation").html("用户名已存在,请换一个!");
                        document.getElementById("regUsernameImg").style['visibility'] = 'visible';
                        document.getElementById("regUsernameImg").src = '../../Content/img/jquery/exclamation.gif';
                        document.getElementById("loginUserValidation").style['visibility'] = 'visible';
                        document.getElementById("validationUsername").value = "有错误!";
                    } else {
                        document.getElementById("regUsernameImg").style['visibility'] = 'visible';
                        document.getElementById("regUsernameImg").src = '../../Content/img/jquery/accept.gif';
                        document.getElementById("validationUsername").value = "";
                        document.getElementById("loginUserValidation").style['visibility'] = 'hidden';
                    }
                })

            }
        })

        $("#RegEmail").change(function() {
            var s = document.getElementById("RegEmail").value;
            var i = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
            if (!s.match(i) || s == "") {
                $("#mailValidation").html("邮箱不符合要求,请重新输入!");
                document.getElementById("mailImg").style['visibility'] = 'visible';
                document.getElementById("mailValidation").style['visibility'] = 'visible';
                document.getElementById("mailImg").src = '../../Content/img/jquery/exclamation.gif';
                document.getElementById("validationMail").value = "有错误!";
            }
            else {
                $.getJSON('/Account/ValidationRegisterMail/' + s, {}, function(j) {
                    if (j != '1') {
                        $("#mailValidation").html("此邮箱已使用过,请换一个!");
                        document.getElementById("mailImg").style['visibility'] = 'visible';
                        document.getElementById("mailImg").src = '../../Content/img/jquery/exclamation.gif';
                        document.getElementById("mailValidation").style['visibility'] = 'visible';
                        document.getElementById("validationMail").value = "有错误!";
                    } else {
                        document.getElementById("mailImg").style['visibility'] = 'visible';
                        document.getElementById("mailValidation").style['visibility'] = 'hidden';
                        document.getElementById("mailImg").src = '../../Content/img/jquery/accept.gif';
                        document.getElementById("validationMail").value = "";

                    }
                })


            }
        })

        $("#RegPassword").change(function() {
            var s = document.getElementById("RegPassword").value;

            if (s.length < 8 || s == "") {
                $("#regPasswordValidation").html("密码不得少于8个字符!");
                document.getElementById("passwordImg").style['visibility'] = 'visible';
                document.getElementById("regPasswordValidation").style['visibility'] = 'visible';
                document.getElementById("passwordImg").src = '../../Content/img/jquery/exclamation.gif';
                document.getElementById("validationPassword").value = "有错误!";
            }
            else {
                document.getElementById("passwordImg").style['visibility'] = 'visible';
                document.getElementById("passwordImg").src = '../../Content/img/jquery/accept.gif';
                document.getElementById("regPasswordValidation").style['visibility'] = 'hidden';
                document.getElementById("validationPassword").value = "";
            }
        })

        $("#RegConfirmPassword").change(function() {
            var s = document.getElementById("RegConfirmPassword").value;
            var conS = document.getElementById("RegPassword").value;
            if (s != conS || conS == "") {
                $("#regConfirmPasswordValidation").html("与原密码不同,请确认!");
                document.getElementById("ConPasswordImg").style['visibility'] = 'visible';
                document.getElementById("regConfirmPasswordValidation").style['visibility'] = 'visible';
                document.getElementById("ConPasswordImg").src = '../../Content/img/jquery/exclamation.gif';
                document.getElementById("validationConfigPassword").value = "有错误!";
            }
            else {
                document.getElementById("ConPasswordImg").style['visibility'] = 'visible';
                document.getElementById("ConPasswordImg").src = '../../Content/img/jquery/accept.gif';
                document.getElementById("regConfirmPasswordValidation").style['visibility'] = 'hidden';
                document.getElementById("validationConfigPassword").value = "";
            }
        })

    })

    var TestGo = null;

    function checkRegConPassword(regPassword, regConPassword) {
        if (regConPassword == "" || regConPassword == null || regConPassword != regPassword) {
            $("#regConfirmPasswordValidation").html("与原密码不同,请确认!");
            document.getElementById("ConPasswordImg").style['visibility'] = 'visible';
            document.getElementById("regConfirmPasswordValidation").style['visibility'] = 'visible';
            document.getElementById("ConPasswordImg").src = '../../Content/img/jquery/exclamation.gif';
            document.getElementById("validationConfigPassword").value = "有错误!";
            return false;
        } else {
            return true;
        }
    }

    function ValidationCheck(validateID) {
        if (validateID == "" || validateID == null || validateID == '请输入验证码') {
            $("#RegValidationCodeVa").html("验证码错误,请重新输入!");
            document.getElementById("RegValidationCodeImg").style['visibility'] = 'visible';
            document.getElementById("RegValidationCodeVa").style['visibility'] = 'visible';
            document.getElementById("RegValidationCodeImg").src = '../../Content/img/jquery/exclamation.gif';
            document.getElementById("validationCode").value = "有错误!";
            return false;
        } else {
            return true;
        }
    }

    function test() {

        var regName = document.getElementById("RegUsername").value;
        var regMail = document.getElementById("RegEmail").value;
        var regPassword = document.getElementById("RegPassword").value;
        var ValidateID = document.getElementById("RegValidationCode").value;
        var regConPassword = document.getElementById("RegConfirmPassword").value;

        if (regPassword == null || regPassword == "") {
            regPassword = '请输入密码';
        }
        var s = checkName(regName);
        var s1 = checkMail(regMail);
        var s2 = checkPassword(regPassword);
        var s3 = checkRegConPassword(regPassword, regConPassword);
        var s4 = ValidationCheck(ValidateID);
        if (s == true & s1 == true & s2 == true & s3 == true & s4 == true) {
            return true;
        } else {
            //document.getElementById("CheakRegister").value = '2';
            return false;
        }

    }

    function checkName(regName) {
        if (regName == "" || regName == null || regName.length < 6 || regName == '请输入昵称') {
            $("#loginUserValidation").html("用户名少于6个字符!");
            document.getElementById("regUsernameImg").style['visibility'] = 'visible';
            document.getElementById("loginUserValidation").style['visibility'] = 'visible';
            document.getElementById("regUsernameImg").src = '../../Content/img/jquery/exclamation.gif';
            document.getElementById("validationUsername").value = "有错误!";
            return false;
        } else {
            return true;
        }
    }
    function checkMail(regMail) {

        if (regMail == "" || regMail == null || regMail == '请输入Email') {
            $("#mailValidation").html("邮箱不符合要求,请重新输入!");
            document.getElementById("mailImg").style['visibility'] = 'visible';
            document.getElementById("mailValidation").style['visibility'] = 'visible';
            document.getElementById("mailImg").src = '../../Content/img/jquery/exclamation.gif';
            document.getElementById("validationMail").value = "有错误!";
            return false;
        } else {
            return true;
        }
    }
    function checkPassword(regPassword) {
        if (regPassword == "" || regPassword == null || regPassword == '请输入密码') {
            $("#regPasswordValidation").html("密码不得少于8个字符!");
            document.getElementById("passwordImg").style['visibility'] = 'visible';
            document.getElementById("regPasswordValidation").style['visibility'] = 'visible';
            document.getElementById("passwordImg").src = '../../Content/img/jquery/exclamation.gif';
            document.getElementById("validationPassword").value = "有错误!";
            return false;
        } else {
            return true;
        }

    }


    //密码强度;
    function PasswordStrength(showed) {
        this.showed = (typeof (showed) == "boolean") ? showed : true;
        this.styles = new Array();
        this.styles[0] = { backgroundColor: "#EBEBEB", borderLeft: "solid 1px #FFFFFF", borderRight: "solid 1px #BEBEBE", borderBottom: "solid 1px #BEBEBE" };
        this.styles[1] = { backgroundColor: "#FF4545", borderLeft: "solid 1px #FFFFFF", borderRight: "solid 1px #BB2B2B", borderBottom: "solid 1px #BB2B2B" };
        this.styles[2] = { backgroundColor: "#FFD35E", borderLeft: "solid 1px #FFFFFF", borderRight: "solid 1px #E9AE10", borderBottom: "solid 1px #E9AE10" };
        this.styles[3] = { backgroundColor: "#95EB81", borderLeft: "solid 1px #FFFFFF", borderRight: "solid 1px #3BBC1B", borderBottom: "solid 1px #3BBC1B" };

        this.labels = ["弱", "中", "强"];

        this.divName = "pwd_div_" + Math.ceil(Math.random() * 100000);
        this.minLen = 5;

        this.width = "150px";
        this.height = "16px";

        this.content = "";

        this.selectedIndex = 0;

        this.init();
    }
    PasswordStrength.prototype.init = function() {
        var s = '<table cellpadding="0" id="' + this.divName + '_table" cellspacing="0" style="width:' + this.width + ';height:' + this.height + ';">';
        s += '<tr>';
        for (var i = 0; i < 3; i++) {
            s += '<td id="' + this.divName + '_td_' + i + '" width="33%" align="center"><span style="font-size:1px">&nbsp;</span><span id="' + this.divName + '_label_' + i + '" style="display:none;font-family: Courier New, Courier, mono;font-size: 12px;color: #000000;">' + this.labels[i] + '</span></td>';
        }
        s += '</tr>';
        s += '</table>';
        this.content = s;
        if (this.showed) {
            document.write(s);
            this.copyToStyle(this.selectedIndex);
        }
    }
    PasswordStrength.prototype.copyToObject = function(o1, o2) {
        for (var i in o1) {
            o2[i] = o1[i];
        }
    }
    PasswordStrength.prototype.copyToStyle = function(id) {
        this.selectedIndex = id;
        for (var i = 0; i < 3; i++) {
            if (i == id - 1) {
                this.$(this.divName + "_label_" + i).style.display = "inline";
            } else {
                this.$(this.divName + "_label_" + i).style.display = "none";
            }
        }
        for (var i = 0; i < id; i++) {
            this.copyToObject(this.styles[id], this.$(this.divName + "_td_" + i).style);
        }
        for (; i < 3; i++) {
            this.copyToObject(this.styles[0], this.$(this.divName + "_td_" + i).style);
        }
    }
    PasswordStrength.prototype.$ = function(s) {
        return document.getElementById(s);
    }
    PasswordStrength.prototype.setSize = function(w, h) {
        this.width = w;
        this.height = h;
    }
    PasswordStrength.prototype.setMinLength = function(n) {
        if (isNaN(n)) {
            return;
        }
        n = Number(n);
        if (n > 1) {
            this.minLength = n;
        }
    }
    PasswordStrength.prototype.setStyles = function() {
        if (arguments.length == 0) {
            return;
        }
        for (var i = 0; i < arguments.length && i < 4; i++) {
            this.styles[i] = arguments[i];
        }
        this.copyToStyle(this.selectedIndex);
    }
    PasswordStrength.prototype.write = function(s) {
        if (this.showed) {
            return;
        }
        var n = (s == 'string') ? this.$(s) : s;
        if (typeof (n) != "object") {
            return;
        }
        n.innerHTML = this.content;
        this.copyToStyle(this.selectedIndex);
    }
    PasswordStrength.prototype.update = function(s) {
        if (s.length < this.minLen) {
            this.copyToStyle(0);
            return;
        }
        var ls = -1;
        if (s.match(/[a-z]/ig)) {
            ls++;
        }
        if (s.match(/[0-9]/ig)) {
            ls++;
        }
        if (s.match(/(.[^a-z0-9])/ig)) {
            ls++;
        }
        if (s.length < 6 && ls > 0) {
            ls--;
        }
        switch (ls) {
            case 0:
                this.copyToStyle(1);
                break;
            case 1:
                this.copyToStyle(2);
                break;
            case 2:
                this.copyToStyle(3);
                break;
            default:
                this.copyToStyle(0);
        }
    }

</script>

<table cellpadding="0" cellspacing="0" border="0">
    <tr>
        <td align="left">
            <form id="form2" action="/Account/Register" method="post" cellpadding="0" cellspacing="0"
            border="0">
            <table width="100" border="0" cellspacing="0" cellpadding="0" align="left" id="RegTable">
                <!--注册详细信息开始-->
                <tr>
                    <td width="100%">
                        <table style="width: 786px">
                            <tr>
                                <td colspan="5">
                                </td>
                            </tr>
                            <tr>
                                <td height="1">
                                </td>
                                <td colspan="4" bgcolor="#D0CED1">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                                <td width="100" align="right">
                                    <%=Html.Encode(ViewData["lbUsername"])%>:<font color="#FF0000">*</font>
                                </td>
                                <td colspan="2" width="300" align="left">
                                    <%= Html.TextBox("RegUsername", "", new { style = "height:15px;width:120px"})%>
                                    <%= Html.ValidationMessage("RegUsername") %>
                                    <img id="regUsernameImg" style="visibility: hidden" />
                                    <label id="loginUserValidation" class="red">
                                    </label>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                                <td width="100" align="right">
                                    <%=Html.Encode(ViewData["lbEmail"])%>:<font color="#FF0000">*</font>
                                </td>
                                <td colspan="2" width="300" align="left">
                                    <%= Html.TextBox("RegEmail", "", new { style = "height:15px;width:120px" })%>
                                    <%= Html.ValidationMessage("RegEmail")%>
                                    <img id="mailImg" style="visibility: hidden" />
                                    <label id="mailValidation" class="red">
                                    </label>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                                <td width="100" align="right">
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%=Html.Encode(ViewData["lbPassword"])%>:<font
                                        color="#FF0000">*</font>
                                </td>
                                <td colspan="2" width="300" align="left">
                                    <%= Html.Password("RegPassword", "", new { style = "height:15px;width:120px", onKeyUp = "ps.update(this.value);" })%>
                                    <%= Html.ValidationMessage("RegPassword") %>
                                    <img id="passwordImg" style="visibility: hidden" />

                                    <script language="javascript">
                                        var ps = new PasswordStrength();
                                        ps.setSize("200", "20");
                                        ps.setMinLength(8);
                                    </script>

                                    <label id="regPasswordValidation" class="red">
                                    </label>
                                </td>
                                <td style="width: 308px">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                                <td width="100" align="right">
                                    <%=Html.Encode(ViewData["lbConfirmPassword"])%>:<font color="#FF0000">*</font>
                                </td>
                                <td colspan="2" width="300" align="left">
                                    <%= Html.Password("RegConfirmPassword", "", new { style = "height:15px;width:120px" })%>
                                    <%= Html.ValidationMessage("RegConfirmPassword") %>
                                    <img id="ConPasswordImg" style="visibility: hidden" />
                                    <label id="regConfirmPasswordValidation" class="red">
                                    </label>
                                </td>
                                <td style="width: 308px">
                                </td>
                            </tr>
                            <tr style="height: 1px">
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td height="1">
                                </td>
                                <td colspan="4" bgcolor="#D0CED1">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td width="100" align="right">
                                    <%= Html.Encode(ViewData["lbName"]) %>:
                                </td>
                                <td colspan="2" width="300" align="left">
                                    <%= Html.TextBox("RegName", "", new { style = "height:15px;width:120px" })%>
                                    <%= Html.ValidationMessage("RegName")%>
                                </td>
                                <td style="width: 308px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td style="width: 308px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td width="100" align="right">
                                    <%= Html.Encode(ViewData["lbGender"])%>:
                                </td>
                                <td colspan="2" width="300" align="left">
                                    <table>
                                        <tr>
                                            <td align="right">
                                                <%=Html.DropDownList("RegGender", (SelectList)ViewData["RegGender"])%>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td style="width: 308px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td style="width: 308px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td width="100" align="right">
                                    <%= Html.Encode(ViewData["lbDate"])%>:
                                </td>
                                <td colspan="2" width="300" align="left">
                                    <%=Html.DropDownList("RegYear", (SelectList)ViewData["RegYear"])%>年
                                    <%=Html.DropDownList("RegMonth", (SelectList)ViewData["RegMonth"])%>月
                                    <%=Html.DropDownList("RegDay", (SelectList) ViewData["RegDay"])%>日
                                </td>
                                <td style="width: 308px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td style="width: 308px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td width="100" align="right">
                                    <%=Html.Encode(ViewData["lbCity"]) %>:
                                </td>
                                <td colspan="2" width="300" align="left">
                                    <%= Html.TextBox("RegCity", "", new { style = "height:15px;width:120px" })%>
                                    <%= Html.ValidationMessage("RegCity")%>
                                </td>
                                <td style="width: 308px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td style="width: 308px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td width="100" align="right">
                                    <%= Html.Encode(ViewData["lbOccupation"])%>:
                                </td>
                                <td colspan="2" width="300" align="left">
                                    <table>
                                        <tr>
                                            <td align="right">
                                                <%=Html.DropDownList("RegOccupation", (SelectList)ViewData["RegOccupation"])%>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td style="width: 308px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td style="width: 308px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td height="1">
                                </td>
                                <td colspan="4" bgcolor="#D0CED1">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td style="width: 308px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                                <td width="100" align="right">
                                    <%=Html.Encode(ViewData["lbValidationCode"])%>:<font color="#FF0000">*</font>
                                </td>
                                <td align="left">
                                    <%= Html.TextBox("RegValidationCode", "", new { style = "height:15px;width:120px" })%>
                                </td>
                                <td>
                                    <% Html.RenderPartial("ValidationCode");%>
                                    <img id="RegValidationCodeImg" style="visibility: hidden" />
                                    <label id="RegValidationCodeVa" class="red">
                                    </label>
                                </td>
                                <td>
                                    <%= Html.ValidationMessage("RegValidationCode")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td style="width: 308px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td height="1">
                                </td>
                                <td colspan="4" bgcolor="#D0CED1">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                                <td style="width: 308px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td width="100" align="right">
                                    <%= Html.CheckBox("RegAgree",false)%>
                                </td>
                                <td colspan="2">
                                    我已经看过并同意《<a href="/Footer/ServiceArticle">匯璟网&#26381;&#21153;&#26465;&#27454;</a>》
                                </td>
                                <td style="width: 308px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td width="100" align="right">
                                    &nbsp;
                                </td>
                                <td colspan="2" width="500" align="right">
                                </td>
                                <td style="width: 308px">
                                    &nbsp;
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td width="100%">
                        <table>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td width="100" align="right">
                                    &nbsp;
                                </td>
                                <td colspan="3" width="300" align="left">
                                    &nbsp;
                                </td>
                                <td style="width: 308px">
                                    <input type="submit" id="register" name="Register" value="<%=Html.Encode(ViewData["Register"])%>"
                                        onclick="return test();" />
                                    <%= Html.Hidden("validationUserName")%>
                                    <%= Html.Hidden("validationMail")%>
                                    <%= Html.Hidden("validationPassword")%>
                                    <%= Html.Hidden("validationConfigPassword")%>
                                    <%= Html.Hidden("validationCode")%>
                                    <%--                <input type="text" id="CheakRegister" visible="true"/>--%>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            </form>
            <!--注册详细信息结束-->
        </td>
    </tr>
</table>
